package com.chen.learnknowledge.dao;

import com.chen.learnknowledge.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserDao {
    //查出所有user中数据
    List<User> getList();

    Integer addOne(@Param("user") User user);
}
